<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>aws-crt-cpp: /home/ANT.AMAZON.COM/dengket/doc/aws-crt-cpp/include/aws/crt/mqtt/MqttClient.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">aws-crt-cpp
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_076842b242c291358044feb169933571.html">aws</a></li><li class="navelem"><a class="el" href="dir_cc4322e4b2151c90adb7cd2e3f54423a.html">crt</a></li><li class="navelem"><a class="el" href="dir_59c38d69605e708946f03ec64f0b9d1a.html">mqtt</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#typedef-members">Typedefs</a>  </div>
  <div class="headertitle">
<div class="title">MqttClient.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="Exports_8h_source.html">aws/crt/Exports.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="StlAllocator_8h_source.html">aws/crt/StlAllocator.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="Types_8h_source.html">aws/crt/Types.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="HttpConnection_8h_source.html">aws/crt/http/HttpConnection.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="SocketOptions_8h_source.html">aws/crt/io/SocketOptions.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="TlsOptions_8h_source.html">aws/crt/io/TlsOptions.h</a>&gt;</code><br />
<code>#include &lt;aws/mqtt/client.h&gt;</code><br />
<code>#include &lt;atomic&gt;</code><br />
<code>#include &lt;functional&gt;</code><br />
<code>#include &lt;memory&gt;</code><br />
</div>
<p><a href="crt_2mqtt_2MqttClient_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Mqtt_1_1MqttConnection.html">Aws::Crt::Mqtt::MqttConnection</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAws_1_1Crt_1_1Mqtt_1_1MqttClient.html">Aws::Crt::Mqtt::MqttClient</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespaceAws"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceAws.html">Aws</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespaceAws_1_1Crt"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceAws_1_1Crt.html">Aws::Crt</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespaceAws_1_1Crt_1_1Io"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceAws_1_1Crt_1_1Io.html">Aws::Crt::Io</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespaceAws_1_1Crt_1_1Http"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceAws_1_1Crt_1_1Http.html">Aws::Crt::Http</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespaceAws_1_1Crt_1_1Mqtt"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html">Aws::Crt::Mqtt</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a4f836d0b80ada1251f643bf357b0fc60"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a4f836d0b80ada1251f643bf357b0fc60">Aws::Crt::Mqtt::OnConnectionInterruptedHandler</a> = std::function&lt; void(MqttConnection &amp;connection, int <a class="el" href="structerror.html">error</a>)&gt;</td></tr>
<tr class="separator:a4f836d0b80ada1251f643bf357b0fc60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43028af232c9cf8c5a34da986d9afa06"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a43028af232c9cf8c5a34da986d9afa06">Aws::Crt::Mqtt::OnConnectionResumedHandler</a> = std::function&lt; void(MqttConnection &amp;connection, ReturnCode connectCode, bool sessionPresent)&gt;</td></tr>
<tr class="separator:a43028af232c9cf8c5a34da986d9afa06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef2f7258854ef807340164783747a936"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#aef2f7258854ef807340164783747a936">Aws::Crt::Mqtt::OnConnectionCompletedHandler</a> = std::function&lt; void(MqttConnection &amp;connection, int errorCode, ReturnCode returnCode, bool sessionPresent)&gt;</td></tr>
<tr class="separator:aef2f7258854ef807340164783747a936"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aedc46fe650f31ca76c9b045a45258ffc"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#aedc46fe650f31ca76c9b045a45258ffc">Aws::Crt::Mqtt::OnSubAckHandler</a> = std::function&lt; void(MqttConnection &amp;connection, uint16_t packetId, const String &amp;topic, QOS qos, int errorCode)&gt;</td></tr>
<tr class="separator:aedc46fe650f31ca76c9b045a45258ffc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a114f4b34cc46025478d479beaacc53ff"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a114f4b34cc46025478d479beaacc53ff">Aws::Crt::Mqtt::OnMultiSubAckHandler</a> = std::function&lt; void(MqttConnection &amp;connection, uint16_t packetId, const Vector&lt; String &gt; &amp;topics, QOS qos, int errorCode)&gt;</td></tr>
<tr class="separator:a114f4b34cc46025478d479beaacc53ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0e931986cc3e616c6adf935d760ecb0"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#aa0e931986cc3e616c6adf935d760ecb0">Aws::Crt::Mqtt::OnDisconnectHandler</a> = std::function&lt; void(MqttConnection &amp;connection)&gt;</td></tr>
<tr class="separator:aa0e931986cc3e616c6adf935d760ecb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c45cd45103957d38303f03f37d251e2"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a4c45cd45103957d38303f03f37d251e2">Aws::Crt::Mqtt::OnPublishReceivedHandler</a> = std::function&lt; void(MqttConnection &amp;connection, const String &amp;topic, const ByteBuf &amp;payload)&gt;</td></tr>
<tr class="separator:a4c45cd45103957d38303f03f37d251e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44fc5120bbbe950dc76488128259b18f"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a44fc5120bbbe950dc76488128259b18f">Aws::Crt::Mqtt::OnOperationCompleteHandler</a> = std::function&lt; void(MqttConnection &amp;connection, uint16_t packetId, int errorCode)&gt;</td></tr>
<tr class="separator:a44fc5120bbbe950dc76488128259b18f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d9638829a60d2c9961d7b789cebcb42"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a5d9638829a60d2c9961d7b789cebcb42">Aws::Crt::Mqtt::OnWebSocketHandshakeInterceptComplete</a> = std::function&lt; void(const std::shared_ptr&lt; Http::HttpRequest &gt; &amp;, int errorCode)&gt;</td></tr>
<tr class="separator:a5d9638829a60d2c9961d7b789cebcb42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a164f0b4ae6ab32eae4125e685349a8d1"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceAws_1_1Crt_1_1Mqtt.html#a164f0b4ae6ab32eae4125e685349a8d1">Aws::Crt::Mqtt::OnWebSocketHandshakeIntercept</a> = std::function&lt; void(std::shared_ptr&lt; Http::HttpRequest &gt; req, const OnWebSocketHandshakeInterceptComplete &amp;onComplete)&gt;</td></tr>
<tr class="separator:a164f0b4ae6ab32eae4125e685349a8d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>
